package org.zfes.snowier.cloud.zbss.cms.model.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.zfes.snowier.core.data.ComboboVo;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.model.dto.CmsModelDto;
import org.zfes.snowier.cloud.zbss.cms.model.model.CmsModel;
public interface ICmsModelService{

	List<ComboboVo> loadCmsModelComboboVo(Long siteId,boolean firstEmpty);
	
	
	 Optional<CmsModelDto> loadCmsModelDtoById(Long id);
	 
	 
	 Optional<CmsModel> loadCmsModelById(Long id);
	
	 void createCmsModel(CmsModel cmsModel);
	
	 void updateCmsModel(CmsModel cmsModel);

	 void deleteCmsModel(Long id);
	
	 DataSet loadCmsModelDataSet(Map<String, Object> params);
	 

 	void setCmsModelStatus(Long id, Byte status);
}